﻿#region Usings

using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Animation;

#endregion

namespace KanbanBoard.Client.View.Views.TaskBoard {
    public partial class TaskView : UserControl {
        public TaskView() {
            InitializeComponent();
        }

        private void Border_MouseEnter(object sender, MouseEventArgs e) {
            var storyboard = (Storyboard) Resources["ShowButtons"];
            storyboard.Begin();
        }

        private void Border_MouseLeave(object sender, MouseEventArgs e) {
            var storyboard = (Storyboard) Resources["HideButtons"];
            storyboard.Begin();
        }
    }
}